package com.github.rpc4j.consumer.cglib;

import com.github.rpc4j.common.ServiceRequest;
import com.github.rpc4j.consumer.core.ConsumerExecuteHandler;

public class UserServiceImpl_1 implements IUserService {
	
	private ConsumerExecuteHandler handler;
	
	private ServiceRequest request;
	
	public UserServiceImpl_1(ConsumerExecuteHandler handler,ServiceRequest request){
		this.handler = handler;
		this.request = request;
	}

	@Override
	public String create(String aa,String bb) {
		Object[] args = new Object[2];
		args[0] = aa;
		args[1] = bb;
		request.setMethod("create");
		request.setMethodDesc("aaa");
		//handler.execute(request, args);
		return "test";

	}

	@Override
	public void get() {
		//handler.execute(request, null);
	}

}
